﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Musicman.Common;

namespace Musicman.DAL
{
    public class DAOBase
    {
        public virtual SqlDatabase GetDefaultDatabase()
        {
            SqlDatabase db = new SqlDatabase(AppSettingsHelper.GetWebConfigValue(Constants.MusicmanConnectionString));
            return db;
        }

    }
}
